package com.javashow.service;

import org.springframework.transaction.annotation.Transactional;

import com.javashow.pojo.Log;
import com.javashow.pojo.Person;

public interface ITestService {
	@Transactional(readOnly = true)  
	public void test();
	@Transactional(readOnly = false, rollbackFor = Exception.class)
	public void insertPerson(Person person, Log log);
}
